#pragma once

#include <stdio.h>
#include <string.h>

#define SIZE 101
#define MAX_RATE 100
#define STIME 1000 * 40
#define STYLE '#'

#define STYLE_BODY '='
#define STYLE_HEADER '>'

//typedef void (*callback_t)(int);  //用于回调
typedef void (*callback_t)(double);  //用于回调

void process_v1();
void process_v2(int);
void process_v3(double);